﻿using System;
using System.Configuration;

namespace Translator
{
    public class AppConfig
    {
        public BaiduTranslateConfig BaiduTranslate { get; set; }
        public AppSettingsConfig AppSettings { get; set; }

        public class BaiduTranslateConfig
        {
            public string ApiKey { get; set; }
            public string SecretKey { get; set; }
        }

        public class AppSettingsConfig
        {
            public string Hotkey { get; set; }
            public bool StartMinimized { get; set; }
            public string DefaultFromLanguage { get; set; }
            public string DefaultToLanguage { get; set; }
        }
    }
}